Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(button): use flexbox instead of font-size to ensure the icon is centered #1643

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

HendrikThePendric
Copy link
Contributor

I think the styles that we had to center the icon were a relic of a very old implementation. I think using flexbox makes a lot more sense.

@HendrikThePendric HendrikThePendric requested a review from a team as a code owner November 28, 2024 11:00
@HendrikThePendric HendrikThePendric changed the title fix: use flexbox instead of font-size to ensure the icon is centered fix(button): use flexbox instead of font-size to ensure the icon is centered Nov 28, 2024
@dhis2-bot
Copy link
Contributor

🚀 Deployed on https://pr-1643--dhis2-ui.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify November 28, 2024 11:04 Inactive
@HendrikThePendric HendrikThePendric merged commit 939f5fa into master Nov 28, 2024
19 checks passed
@HendrikThePendric HendrikThePendric deleted the fix/icon-only-button-vertical-alignment branch November 28, 2024 14:35
dhis2-bot added a commit that referenced this pull request Nov 28, 2024
## [10.1.4](v10.1.3...v10.1.4) (2024-11-28)

### Bug Fixes

* use flexbox instead of font-size to ensure the icon is centered ([#1643](#1643)) ([939f5fa](939f5fa))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 10.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants